home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 025a / dlscan31.zip / DLSCAN.TXT < prev   
Text File  |  1991-10-29  |  23KB  |  793 lines

  1.  
  2.  
  3.  
  4.                        DLScan - CIS Data Library Scanner
  5.  
  6.  
  7.  
  8.   INTRODUCTION
  9.  
  10.   DLSCAN is   a  simple program  written in Turbo Pascal that, in conjunction
  11.   with AutoSig,   allows  for the  creation of  catalog files  which  contain
  12.   descriptions  of   specified  files  found  in  the  CompuServ  (CIS)  data
  13.   libraries. DLScan can optionally also create a directory listing of files.
  14.  
  15.   DLScan   will create  a script  file (DLSCAN.SCR  by default) that can then
  16.   be given  to   AutoSig for  processing. AutoSig will use the script file to
  17.   dial and connect to CompuServe (if necessary), "Go" to the specified forum,
  18.   enter the  specified libraries and download the descriptions (or optionally
  19.   a listing)  of the  requested file(s). This process will continue until the
  20.   script file has been completely processed.
  21.  
  22.  
  23.   DOCUMENT ORGANIZATION
  24.  
  25.   This document  is organized  as a  tutorial. Headings have been included so
  26.   that the document can also be used somewhat as a reference manual.
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.                                           1
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.   Table of Contents
  72.  
  73.   Introduction...............................................1
  74.  
  75.   Document Organization......................................1
  76.  
  77.   Configuration..............................................3
  78.  
  79.   Starting DLScan............................................3
  80.  
  81.   Creating the Forum Library List............................3
  82.  
  83.   Passing DLScan scripts to AutoSig..........................4
  84.  
  85.   Forum Library Display Example..............................5
  86.  
  87.   Forum (D)escriptions Scanning..............................6
  88.  
  89.   Forum (L)isting Scanning...................................9
  90.  
  91.   Downloading files.........................................11
  92.  
  93.   Version History...........................................11
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.                                           2
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.   CONFIGURATION
  137.  
  138.   To test  to make  sure that your options are set properly, and also to test
  139.   the functions  of DLScan,  use   the   Practice   forum  since it's free of
  140.   charges.
  141.  
  142.  
  143.   STARTING DLSCAN
  144.  
  145.   To start  DLScan, just type "DLScan" at the DOS command prompt (without the
  146.   " marks).  If this  is the first time DLScan has been run, you will see the
  147.   following:
  148.  
  149.   +-------------------------------------------------------------------------+
  150.   |Select Forum (file(s) will be <forum>.CAT or <forum>.LST):               |
  151.   |                                                                         |
  152.   |                                                                         |
  153.   |                                                                         |
  154.                                        .
  155.                                        .
  156.                                        .
  157.   |                                                                         |
  158.   |                                                                         |
  159.   |                                                                         |
  160.   |CompuServe Data Library Scanner -- Version 3.1                           |
  161.   +-------------------------------------------------------------------------+
  162.  
  163.   You should  now enter  the Forum  name that you wish to have searched, e.g.
  164.   IBMCOM.
  165.  
  166.   Note: it  is very important that the <forum name> that you enter correspond
  167.   with the  name that  is associated  with the "SIG name, 1-7 char" prompt in
  168.   the "Forum Configuration Options" menu (F3 in the main menu of AutoSig).
  169.  
  170.   +-------------------------------------------------------------------------+
  171.   |Select Forum (file(s) will be <forum>.CAT or <forum>.LST): IBMCOM        |
  172.   |                                                                         |
  173.   |                                                                         |
  174.   |                                                                         |
  175.                                        .
  176.                                        .
  177.                                        .
  178.   |                                                                         |
  179.   |                                                                         |
  180.   |                                                                         |
  181.   |CompuServe Data Library Scanner -- Version 3.1                           |
  182.   +-------------------------------------------------------------------------+
  183.  
  184.  
  185.   CREATING THE FORUM LIBRARY LIST
  186.  
  187.   Once you have selected the forum, if this is the first time that DLScan has
  188.   been run, you will see the following screen.
  189.  
  190.  
  191.  
  192.  
  193.                                           3
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.   +-------------------------------------------------------------------------+
  203.   |No data library file - do you wish to create one?                        |
  204.   |                                                                         |
  205.   |                                                                         |
  206.   |                                                                         |
  207.                                        .
  208.                                        .
  209.                                        .
  210.   |                                                                         |
  211.   |                                                                         |
  212.   |                                                                         |
  213.   |CompuServe Data Library Scanner -- Version 3.1                           |
  214.   +-------------------------------------------------------------------------+
  215.  
  216.   By replying  "Y" to  this question,  DLScan will  create a script that will
  217.   download the Forum's libraries into a <forumname>.DL file; in this example,
  218.   IBMCOM.DL.
  219.  
  220.   At this  point, in  order to  get a  feel for  using  DLScan  scripts  with
  221.   AutoSig, terminate DLScan and try to download the IBMCOM Forum library list
  222.   into the  IBMCOM.DL file.  In order  to terminate DLScan, just reply "N" to
  223.   the questions as shown in the example that follows:
  224.  
  225.   +-------------------------------------------------------------------------+
  226.   |                         Get (D)escriptions, (L)isting or (N)ext Forum? N|
  227.   |                                                                         |
  228.   |                         Do you wish to scan another Forum? N            |
  229.   |                                                                         |
  230.   |                         DLSCAN.SCR has been created.                    |
  231.                                        .
  232.                                        .
  233.                                        .
  234.   |                                                                         |
  235.   |                                                                         |
  236.   |                                                                         |
  237.   |CompuServe Data Library Scanner -- Version 3.1                           |
  238.   +-------------------------------------------------------------------------+
  239.  
  240.   Note: by  replying "N"  to the  first question, neither a (D)escriptions or
  241.   (L)isting download  script will  be created. The "N" to the second question
  242.   indicates that  since no  other  Forums  are  to  be  scanned,  DLScan  can
  243.   terminate.
  244.  
  245.  
  246.   PASSING DLSCAN SCRIPTS TO AUTOSIG
  247.  
  248.   In the  previous section,  a DLSCAN.SCR  file was  created that  will allow
  249.   AutoSig to download a Forum Library list into an IBMCOM.DL file.
  250.  
  251.   AutoSig can  be told  to perform the commands in the DLSCAN.SCR file by one
  252.   of the following commands:
  253.  
  254.        *    at the  DOS command  prompt, you  can  enter  "autosig  /Xdlscan"
  255.             (without the " marks).
  256.  
  257.  
  258.  
  259.                                           4
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.        *    while in  AutoSig, regardless  of whether  you  are  logged  onto
  269.             CompuServe or  not, if  you hold  down the  "Alt"  key  and  then
  270.             simultaneously press  the "T"  key, you  will be asked to provide
  271.             the script file name. At this point, just enter "DLSCAN" followed
  272.             by the "enter" key.
  273.  
  274.   Once either  of the  above has been done, AutoSig will begin processing the
  275.   DLScan script  file and,  for this  example, a  Forum library  list will be
  276.   downloaded into  the IBMCOM.DL  file. When  AutoSig is  done processing the
  277.   DLScan script file, it will logoff CompuServe and hang up the phone.
  278.  
  279.  
  280.   FORUM LIBRARY DISPLAY EXAMPLE
  281.  
  282.   Now that  the IBMCOM.DL  file has  been created,  start DLScan again. Since
  283.   DLScan has already been run, the following will be displayed.
  284.  
  285.   +-------------------------------------------------------------------------+
  286.   |<Control-Brk to Break>                                                   |
  287.   |Do you wish to Append to the existing script file?                       |
  288.   |                                                                         |
  289.   |                                                                         |
  290.                                        .
  291.                                        .
  292.                                        .
  293.   |                                                                         |
  294.   |                                                                         |
  295.   |                                                                         |
  296.   |CompuServe Data Library Scanner -- Version 3.1                           |
  297.   +-------------------------------------------------------------------------+
  298.  
  299.   If you  reply "Y"  to this question, the previous script file will be kept,
  300.   and the  current DLScan  session script  will be  appended to  it. You will
  301.   probably wish to enter "N" in most cases.
  302.  
  303.   When asked  for the  forum name, enter "IBMCOM" for this example. Since the
  304.   Forum library  list has  now been  downloaded, the following screen will be
  305.   displayed.
  306.  
  307.   +-------------------------------------------------------------------------+
  308.   |Libraries Available:      Get (D)escriptions, (L)isting or (N)ext Forum? |
  309.   |0 New Uploads [C]                                                        |
  310.   |1 Autosig (ATO) [C]                                                      |
  311.   |2 Comm Utilities [C]                                                     |
  312.   |3 Comm Programs [C]                                                      |
  313.   |4 Bulletin Boards [C]                                                    |
  314.   |5 Ask the Sysops [C]                                                     |
  315.   |6 Hot Topics [C]                                                         |
  316.   |7 Modems/Comm Hdw [C]                                                    |
  317.   |8 Bul Brd Notices [C]                                                    |
  318.   |9 Script/Nav Pgms [C]                                                    |
  319.   |10 Protocols [C]                                                         |
  320.   |11 Local Area Nets [C]                                                   |
  321.   |                                                                         |
  322.  
  323.  
  324.  
  325.                                           5
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.   |                                                                         |
  335.   |                                                                         |
  336.   |                                                                         |
  337.   |CompuServe Data Library Scanner -- Version 3.1                           |
  338.   +-------------------------------------------------------------------------+
  339.  
  340.  
  341.   FORUM (D)ESCRIPTIONS SCANNING
  342.  
  343.   If  you   wish  to   download  library  file  descriptions,  type  "D"  for
  344.   (D)escriptions. DLScan  will then  ask whether  you wish  to  collect  file
  345.   descriptions for a specific (F)ile, or (K)eyword.
  346.  
  347.   When you have selected either (F)ile or (K)eyword, DLScan will then ask for
  348.   further "filtering".  For example, if you wish to search for files uploaded
  349.   only by  a specific person, let's say [71410,3417], when DLScan prompts you
  350.   for the  [CIS user  id] just  enter "[71410,3417]"  (without the  " marks).
  351.   Also, if the file or keyword that you wish to search for is, let's say, 360
  352.   days old,  when DLScan  prompts you for the "Age", enter the number of days
  353.   old the file is.
  354.  
  355.   You can  use both filters in combination to narrow the search even further.
  356.   Note that  not all  search permutations of filters, filenames, and keywords
  357.   are supported by DLScan. The following is an example:
  358.  
  359.   +-------------------------------------------------------------------------+
  360.   |Libraries Available:    [Gathering File Descriptions]                    |
  361.   |0 New Uploads [C]       Which DL number? 1                               |
  362.   |1 Autosig (ATO) [C]                                                      |
  363.   |2 Comm Utilities [C]    Search by (F)ile, (K)eyword, or (N)one? F        |
  364.   |3 Comm Programs [C]        Filename (<enter> for all): dlscan*.*         |
  365.   |4 Bulletin Boards [C]      [CIS User Id] (<enter> for all): [71410,3417] |
  366.   |5 Ask the Sysops [C]       Age (<enter> for all): 360                    |
  367.   |6 Hot Topics [C]                                                         |
  368.   |7 Modems/Comm Hdw [C]   Search by (F)ile, (K)eyword, or (N)one? K        |
  369.   |8 Bul Brd Notices [C]      Keyword: dlscan                               |
  370.   |9 Script/Nav Pgms [C]      [CIS User Id] (<enter> for all):              |
  371.   |10 Protocols [C]           Age (<enter> for all): 360                    |
  372.   |11 Local Area Nets [C]                                                   |
  373.   |                                                                         |
  374.   |                                                                         |
  375.   |                                                                         |
  376.   |CompuServe Data Library Scanner -- Version 3.1                           |
  377.   +-------------------------------------------------------------------------+
  378.  
  379.   At this point, terminate DLScan and pass the DLScan.SCR script file to
  380.   AutoSig (see sections "Creating the Forum Library List" and "Passing DLScan
  381.   scripts to AutoSig" for more information).
  382.  
  383.   Note: at  the present  time, there is a bug in the CompuServe SCAn command.
  384.   If you wish to gather a file description for a keyword, and wish to use the
  385.   CompuServe id  filter, DLScan  will attempt  to do  this by  using the SCAn
  386.   command. However,  at the  present time  a file description with the proper
  387.   keyword, regardless of who uploaded the file, will be gathered.
  388.  
  389.  
  390.  
  391.                                           6
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.   A file  description file,  in this  example IBMCOM.CAT, will be created and
  401.   will contain the following information:
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.                                           7
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.   LIB 1 !SCA dlscan*.*[71410,3417]/DES/AGE:360
  467.  
  468.   [71410,3417]
  469.  
  470.   DLSCAN.ARC/binary         04-Apr-89 16810              710   05-Nov-89
  471.       Title   : ATO utility to create catalog fils of Lib descrips
  472.       Keywords: DL SCANNER ATO BRO BROWSE AUTOSIG DLSCAN
  473.  
  474.       DLSCAN, in conjunction with AutoSig, allows for the creation of catalog
  475.       files which contain descriptions of specified files found in the CIS
  476.       data libraries. Use ATOBRO, found  in DL 1 of the IBMCOM forum to
  477.       select which file to download. This version, 1.2, adds two new
  478.       features: the "/Age" keyword scan option, and support for AutoSig 5.6
  479.       and 5.8 with or without the ";oldf" user id option. Uploaded by author.
  480.  
  481.   LIB 1 !SCA *.*/KEY:dlscan/AGE:360/DES
  482.  
  483.   [71410,3417]
  484.  
  485.   DLSCAN.ARC/binary         04-Apr-89 16810              710   05-Nov-89
  486.       Title   : ATO utility to create catalog fils of Lib descrips
  487.       Keywords: DL SCANNER ATO BRO BROWSE AUTOSIG DLSCAN
  488.  
  489.       DLSCAN, in conjunction with AutoSig, allows for the creation of catalog
  490.       files which contain descriptions of specified files found in the CIS
  491.       data libraries. Use ATOBRO, found  in DL 1 of the IBMCOM forum to
  492.       select which file to download. This version, 1.2, adds two new
  493.       features: the "/Age" keyword scan option, and support for AutoSig 5.6
  494.       and 5.8 with or without the ";oldf" user id option. Uploaded by author.
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.                                           8
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.   FORUM (L)ISTING SCANNING
  535.  
  536.   If you wish to download library file listings instead of file descriptions,
  537.   type "L"  for (L)istings.  DLScan will then ask whether you wish to collect
  538.   file listings for a specific (F)ile, or (K)eyword.
  539.  
  540.   The rules  explaining how to answer the prompts are explained in the "Forum
  541.   (D)escription Scanning" section; please see this section for more help.
  542.  
  543.   You can  use both filters in combination to narrow the search even further.
  544.   Note that  not all  search permutations of filters, filenames, and keywords
  545.   are supported by DLScan. The following is an example:
  546.  
  547.   +-------------------------------------------------------------------------+
  548.   |Libraries Available:    [Gathering File Listings]                        |
  549.   |0 New Uploads [C]       Which DL number? 1                               |
  550.   |1 Autosig (ATO) [C]                                                      |
  551.   |2 Comm Utilities [C]    Search by (F)ile, (K)eyword, or (N)one? F        |
  552.   |3 Comm Programs [C]        Filename (<enter> for all): *.txt             |
  553.   |4 Bulletin Boards [C]      [CIS User Id] (<enter> for all): [76703,4363] |
  554.   |5 Ask the Sysops [C]       Age (<enter> for all):                        |
  555.   |6 Hot Topics [C]                                                         |
  556.   |7 Modems/Comm Hdw [C]   Search by (F)ile, (K)eyword, or (N)one? K        |
  557.   |8 Bul Brd Notices [C]      Keyword: command                              |
  558.   |9 Script/Nav Pgms [C]      [CIS User Id] (<enter> for all):              |
  559.   |10 Protocols [C]           Age (<enter> for all):                        |
  560.   |11 Local Area Nets [C]                                                   |
  561.   |                                                                         |
  562.   |                                                                         |
  563.   |                                                                         |
  564.   |CompuServe Data Library Scanner -- Version 3.1                           |
  565.   +-------------------------------------------------------------------------+
  566.  
  567.   At this point, terminate DLScan and pass the DLScan.SCR script file to
  568.   AutoSig (see sections "Creating the Forum Library List" and "Passing DLScan
  569.   scripts to AutoSig" for more information).
  570.  
  571.   Note: at  the present  time, there is a bug in the CompuServe SCAn command.
  572.   If you  wish to  gather a  file listing  for a keyword, and wish to use the
  573.   CompuServe id  filter, DLScan  will attempt  to do  this by  using the SCAn
  574.   command. However,  at the  present time,  a file  listing with  the  proper
  575.   keyword regardless of who uploaded the file will be gathered.
  576.  
  577.   A file listing file, in this example IBMCOM.CAT, will be created and will
  578.   contain the following information:
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.                                           9
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.   LIB 1 !SCA *.txt[76703,4363]
  599.  
  600.   [76703,4363]
  601.   CMDLST.TXT                15-May-89 35517              2187
  602.  
  603.   [76703,4363]
  604.   COMCON.TXT                21-May-88 5329               2344
  605.   GUDLIN.TXT                04-Jun-88 6016               5735
  606.   USTSEN.TXT                17-May-89 3808               715
  607.  
  608.  
  609.   LIB 1 !SCA *.*/KEY:command
  610.  
  611.   CAPS.THD                  12-Mar-88 974                2936
  612.   CMDLST.TXT                15-May-89 35517              2187
  613.   COMCON.TXT                21-May-88 5329               2344
  614.   SYNTAX.THD                12-Mar-88 5608               1656
  615.   CONCMD.TXT                16-Oct-89 11956              64
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.                                           10
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.   DOWNLOADING FILES
  667.  
  668.   Once a  <forumname>.CAT  file  has  been  built,  use BRO.EXE, found  in DL
  669.   1 of the IBMCOM forum as AUTOBRO.ARC, to select which file to download (see
  670.   BRO.DOC for more information).
  671.  
  672.   BRO can only make use of the <forumname>.CAT files; i.e. it cannot make use
  673.   of the  <forumname>.LST files. The *.LST files are only useful for your own
  674.   information.
  675.  
  676.   At the  present time,  BRO is only able to generate scripts for downloading
  677.   files; it  does not  have the  ability to  create scripts  to  gather  file
  678.   descriptions, or  listings. However,  BRO does  have the  ability to use as
  679.   input, files  created by  DLScan, or  catalog files  that can be downloaded
  680.   from CompuServe Forum libraries.
  681.  
  682.  
  683.   VERSION HISTORY
  684.  
  685.   1.1 - fixes three known problems:
  686.  
  687.        1)   When "Appending"  to a  file, the new script commands are entered
  688.             after   the existing   "Logoff"  script  command. This causes the
  689.             newly appended commands to be ignored.
  690.  
  691.        2)   When entering   a  "null"   forum  name,    an  I/O  error  3  is
  692.             displayed.
  693.  
  694.        3)   When a  "Logon <forumname>"  AutoSig script  command is executed,
  695.             if   AutoSig is  already in the specified forum at the  time, the
  696.             "Logon" is  ignored; however, a "OP;SM N;S" CIS command string is
  697.             still issued.
  698.  
  699.   1.2 - adds two new features:
  700.  
  701.        1)   adds the "/Age" option for keyword scans.
  702.  
  703.        2)    support  for Autosig  5.6 and 5.8 with or without ";oldf" is now
  704.             available.
  705.  
  706.   2.0 - adds the following features:
  707.  
  708.        1)   /Age and [CIS User ID] options for file and keyword scans.
  709.  
  710.        2)   directory function  (listing of  files by CIS User ID) put into a
  711.             file with a ".LST" ext.
  712.  
  713.        3)   removes script  generation  for  versions  of  AutoSig  prior  to
  714.             version 5.8.
  715.  
  716.   3.0 - adds the following features:
  717.  
  718.  
  719.  
  720.  
  721.                                           11
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.        1)   Adds support  for the "/Short" option on SCAn. This will create a
  731.             .LST file  that has  a list  of files along with a one line title
  732.             description.
  733.  
  734.   3.1 - adds the following features:
  735.  
  736.        1)   Makes use of the new forum change to provide the prompt character
  737.             to all  forum prompts.  You no  longer need  to  use  the  "Short
  738.             Library Prompts" in the CIS Terminal Options.
  739.  
  740.   This program was originally released to the Public Domain on 10/11/88
  741.  
  742.   Neil Iwamoto
  743.   CompuServe ID: 71410,3417
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.                                           12
  788.  
  789.  
  790.  
  791.  
  792.  
  793.